Integrand size = 40, antiderivative size = 94 \[ \int \sqrt {a+a \sin (e+f x)} (A+B \sin (e+f x)) (c-c \sin (e+f x))^{3/2} \, dx=-\frac {a (A+B) \cos (e+f x) (c-c \sin (e+f x))^{3/2}}{2 f \sqrt {a+a \sin (e+f x)}}+\frac {a B \cos (e+f x) (c-c \sin (e+f x))^{5/2}}{3 c f \sqrt {a+a \sin (e+f x)}} \]
[Out]
Time = 0.25 (sec) , antiderivative size = 94, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {3050, 2817} \[ \int \sqrt {a+a \sin (e+f x)} (A+B \sin (e+f x)) (c-c \sin (e+f x))^{3/2} \, dx=\frac {a B \cos (e+f x) (c-c \sin (e+f x))^{5/2}}{3 c f \sqrt {a \sin (e+f x)+a}}-\frac {a (A+B) \cos (e+f x) (c-c \sin (e+f x))^{3/2}}{2 f \sqrt {a \sin (e+f x)+a}} \]
[In]
[Out]
Rule 2817
Rule 3050
Rubi steps \begin{align*} \text {integral}& = (A+B) \int \sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{3/2} \, dx-\frac {B \int \sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{5/2} \, dx}{c} \\ & = -\frac {a (A+B) \cos (e+f x) (c-c \sin (e+f x))^{3/2}}{2 f \sqrt {a+a \sin (e+f x)}}+\frac {a B \cos (e+f x) (c-c \sin (e+f x))^{5/2}}{3 c f \sqrt {a+a \sin (e+f x)}} \\ \end{align*}
Time = 1.55 (sec) , antiderivative size = 84, normalized size of antiderivative = 0.89 \[ \int \sqrt {a+a \sin (e+f x)} (A+B \sin (e+f x)) (c-c \sin (e+f x))^{3/2} \, dx=\frac {c \sec (e+f x) \sqrt {a (1+\sin (e+f x))} \sqrt {c-c \sin (e+f x)} (2 (6 A-B) \sin (e+f x)+\cos (2 (e+f x)) (3 A-3 B+2 B \sin (e+f x)))}{12 f} \]
[In]
[Out]
Time = 3.13 (sec) , antiderivative size = 71, normalized size of antiderivative = 0.76
method | result | size |
default | \(-\frac {c \tan \left (f x +e \right ) \left (2 B \left (\sin ^{2}\left (f x +e \right )\right )+3 A \sin \left (f x +e \right )-3 B \sin \left (f x +e \right )-6 A \right ) \sqrt {-c \left (\sin \left (f x +e \right )-1\right )}\, \sqrt {a \left (1+\sin \left (f x +e \right )\right )}}{6 f}\) | \(71\) |
parts | \(\frac {A c \sqrt {-c \left (\sin \left (f x +e \right )-1\right )}\, \sqrt {a \left (1+\sin \left (f x +e \right )\right )}\, \left (\cos \left (f x +e \right )+2 \tan \left (f x +e \right )-\sec \left (f x +e \right )\right )}{2 f}+\frac {B \sec \left (f x +e \right ) \left (\cos \left (f x +e \right )-1\right ) \left (1+\cos \left (f x +e \right )\right ) \left (2 \sin \left (f x +e \right )-3\right ) c \sqrt {-c \left (\sin \left (f x +e \right )-1\right )}\, \sqrt {a \left (1+\sin \left (f x +e \right )\right )}}{6 f}\) | \(121\) |
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 92, normalized size of antiderivative = 0.98 \[ \int \sqrt {a+a \sin (e+f x)} (A+B \sin (e+f x)) (c-c \sin (e+f x))^{3/2} \, dx=\frac {{\left (3 \, {\left (A - B\right )} c \cos \left (f x + e\right )^{2} - 3 \, {\left (A - B\right )} c + 2 \, {\left (B c \cos \left (f x + e\right )^{2} + {\left (3 \, A - B\right )} c\right )} \sin \left (f x + e\right )\right )} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c}}{6 \, f \cos \left (f x + e\right )} \]
[In]
[Out]
\[ \int \sqrt {a+a \sin (e+f x)} (A+B \sin (e+f x)) (c-c \sin (e+f x))^{3/2} \, dx=\int \sqrt {a \left (\sin {\left (e + f x \right )} + 1\right )} \left (- c \left (\sin {\left (e + f x \right )} - 1\right )\right )^{\frac {3}{2}} \left (A + B \sin {\left (e + f x \right )}\right )\, dx \]
[In]
[Out]
\[ \int \sqrt {a+a \sin (e+f x)} (A+B \sin (e+f x)) (c-c \sin (e+f x))^{3/2} \, dx=\int { {\left (B \sin \left (f x + e\right ) + A\right )} \sqrt {a \sin \left (f x + e\right ) + a} {\left (-c \sin \left (f x + e\right ) + c\right )}^{\frac {3}{2}} \,d x } \]
[In]
[Out]
none
Time = 0.38 (sec) , antiderivative size = 144, normalized size of antiderivative = 1.53 \[ \int \sqrt {a+a \sin (e+f x)} (A+B \sin (e+f x)) (c-c \sin (e+f x))^{3/2} \, dx=-\frac {2 \, {\left (4 \, B c \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{6} - 3 \, A c \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{4} - 3 \, B c \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{4}\right )} \sqrt {a} \sqrt {c}}{3 \, f} \]
[In]
[Out]
Time = 2.00 (sec) , antiderivative size = 122, normalized size of antiderivative = 1.30 \[ \int \sqrt {a+a \sin (e+f x)} (A+B \sin (e+f x)) (c-c \sin (e+f x))^{3/2} \, dx=\frac {c\,\sqrt {a\,\left (\sin \left (e+f\,x\right )+1\right )}\,\sqrt {-c\,\left (\sin \left (e+f\,x\right )-1\right )}\,\left (3\,A\,\cos \left (e+f\,x\right )-3\,B\,\cos \left (e+f\,x\right )+3\,A\,\cos \left (3\,e+3\,f\,x\right )-3\,B\,\cos \left (3\,e+3\,f\,x\right )+12\,A\,\sin \left (2\,e+2\,f\,x\right )-2\,B\,\sin \left (2\,e+2\,f\,x\right )+B\,\sin \left (4\,e+4\,f\,x\right )\right )}{12\,f\,\left (\cos \left (2\,e+2\,f\,x\right )+1\right )} \]
[In]
[Out]